module SRI
  class Class < Expression
    attr_accessor :name, :superclass, :class_methods, :instance_methods
    def initialize( name, superclass )
      @name = name
      @superclass = superclass
      
      @instance_methods = {}
      @class_methods = {}
    end
    
    def to_s
      if superclass
        "Class #{name}, inherits from #{superclass}"
      else
        "Class #{name}"
      end
    end
  end
end
